<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        #main{
            height: 100vh;
        }
        #content{
            height: 100%;
        }
        #foot{
            position: fixed;
            height: 60px;
            width: 100%;
            line-height: 60px;
            bottom: 0;
            background-color: rgba(44, 48, 56, 0.6);
            color: #fff;
        }
    </style>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</head>
<body>
    <script type="text/javascript">
    
        
        function addRequestData(name, nodeIDs, func) {
            if(name=="visual"){
                // 获取子页面传过来数据
                let getData = nodeIDs;
                // 发送数据
                func(data);
                // console.log(getData);
            }
        }     
        /*
        本JS为连接通讯用途，主要是AJAX提供连接中转函数，方便各个页面调用，
        同时提供websocket公共对象，使所有页面调用这一个对象
        */
        var System = System || {};
        //直接调用父窗口的连接进行使用
        var _parent = window.opener || window.parent;
        if (_parent && _parent != window && _parent.System && _parent.System.comm) {
            System.comm = _parent.System.comm;
        }
        System.comm = System.comm || (function () {
            /// <summary>
            /// 系统连接
            /// </summary>
            /// <returns type=""></returns>
            return {
                //异步通信相关，配置和文件处理
                ajax: (function () {
                    /// <summary>
                    /// 和通信相关
                    /// </summary>

                    var get = function (a, b, c) {
                        /// <summary>
                        /// 从指定对象中获取某一个数据，用于传输，将对所有值进行加码处理，从a对象中获取b属性，如果b存在，则返回b的c类型
                        /// </summary>
                        /// <param name="a" type="JSON">可以获取内容的对象JSON</param>
                        /// <param name="b" type="String">要获取的内容属性的名称</param>
                        /// <param name="c" type="String">要获取的内容的数据类型，字符串和数字可以留空，但布尔型传Boolean</param>
                        /// <returns type=""></returns>
                    }
                })
            }
        })
        System.info = {};
        System.info.shipInfo = {};
        System.info.userInfo = {};
        System.info.userInfo.userId = 11;
        System.info.shipInfo.id = 666;
        System.info.nodes = {
            'GPS1X坐标':10,'GPS1Y坐标':10,'GPS2X坐标':0,'GPS2Y坐标':0,
            'GPS1安装位置X':10,'GPS1安装位置Y':10,'GPS2安装位置X':0,'GPS2安装位置Y':0,
            '潮位':100,'罗经':10,'航速':10,'横倾':21,'纵倾':33,
            '左耙深度':100,'右耙深度':100,'右耙上耙管长度':122,
            '右耙下耙管长度':150,'左耙上耙管长度':140,'左耙下耙管长度':140,
            '右耙上耙管水平角度':45,'右耙上耙管垂直角度':45,'右耙下耙管水平角度':33,
            '右耙下耙管垂直角度':30,'左耙上耙管水平角度':40,'左耙上耙管垂直角度':45,
            '左耙下耙管水平角度':45,'左耙下耙管垂直角度':45,'左吸口传感器吃水':3,
            '右吸口传感器吃水':44,'左吸口传感器位置':66,'右吸口传感器位置':444,
            '左耙吸口位置Z':100,'左耙吸口位置Y':100,'右耙吸口位置Z':90,
            '右耙吸口位置Y':100,'左吸口到位':110,'右吸口到位':99,
            '船体吃水':100,'左耙浓度':10,'右耙浓度':44,
            '左耙流速':88,'右耙流速':30,'GPS数组':77,'GPS模式':88
        }
        System.comm.socket = {};
        System.comm.socket.addRequestData = (function (flag,nodes,func) {
            // [gpsX,pgsY,罗经]
            let data = [
            [-800.28, -300.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -299.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -298.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -297.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -296.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -295.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -294.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -293.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -292.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -291.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -290.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -289.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -288.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -287.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -286.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -285.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -284.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -283.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -282.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -281.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -280.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -279.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -278.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -277.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -276.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -275.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -274.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -273.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -272.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -271.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -270.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -269.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -268.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -267.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -266.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -265.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -264.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -263.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -262.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -261.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -260.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -259.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -258.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -257.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -256.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -254.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -253.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -252.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -251.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -250.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -245.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -240.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -235.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -230.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -225.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -220.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -215.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -210.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -205.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -200.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -195.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -190.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -185.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -180.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -175.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -170.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -165.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -160.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -155.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -150.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -145.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -140.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -135.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -130.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -125.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -120.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -115.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -110.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -105.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -100.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -95.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -90.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -85.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -80.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -75.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -70.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -65.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -60.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -55.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -50.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -45.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -40.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -35.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -30.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -25.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -20.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -15, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -10.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, -5, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, 0.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, 5.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, 10.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, 15.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            [-800.28, 20.88, 0, 0,10, 10, 0, 0,2, 20, 10, 21, 33, 100, 100, 122, 150, 140, 140, 45, 45, 33, 30, 40, 45, 45, 45, 3, 2.9, 66, 444, 100, 100, 90, 100, 120, 99, 2, 8,7.3, 8,8.3, 77, 88],
            ]
            console.log(nodes)
            if(flag=="Rabble_visual"){
                // 获取子页面传过来数据
                // 发送数据
                sendIndex = 0;
                var test = setInterval(()=>{
                    func(data[sendIndex]);
                    sendIndex++;
                    if(sendIndex === data.length){
                        clearInterval(test);
                    }
                },1000)                
            }
        })
        // 地质文件
        System.display = {};
        System.display.solumFiles = [
            {
                addRange:[],
                data: [{
                    "x": 0,
                    "y": 0,
                    "name": "ZK01",
                    "layers": [{
                        "minDepth": 0, "name": "水层", "maxDepth": 5, "id": "1", "color": [1, 1, 1, 1]
                    }, { 
                        "minDepth": 5, "name": "沙", "maxDepth": 8, "id": "2", "color": [0.654902, 0.9960784, 0.972549, 0.6039216] 
                    }, { 
                        "minDepth": 8, "name": "淤泥", "maxDepth": 14, "id": "3", "color": [0.6039216, 0.4901961, 0.145098, 0.9960784] 
                    }, { 
                        "minDepth": 14, "name": "硬泥", "maxDepth": 20, "id": "4", "color": [0.1372549, 0.1843137, 0.5294118, 0.5686275] 
                    }, { 
                        "minDepth": 20, "name": "石头", "maxDepth": 40, "id": "5", "color": [0.4862745, 0.07843138, 0.1372549, 0.8235294] 
                    }]
                }, { 
                    "x": 10, 
                    "y": 20, 
                    "name": "ZK02", 
                    "layers": [{ 
                        "minDepth": 0, "name": "水层", "maxDepth": 1, "id": "1", "color": [1, 1, 1, 1] 
                    }, { 
                        "minDepth": 1, "name": "沙", "maxDepth": 5, "id": "2", "color": [0.654902, 0.9960784, 0.972549, 0.6039216] 
                    }, { 
                        "minDepth": 5, "name": "淤泥", "maxDepth": 20, "id": "3", "color": [0.6039216, 0.4901961, 0.145098, 0.9960784] 
                    }, { 
                        "minDepth": 20, "name": "硬泥", "maxDepth": 30, "id": "4", "color": [0.1372549, 0.1843137, 0.5294118, 0.5686275] 
                    }, { 
                        "minDepth": 30, "name": "石头", "maxDepth": 40, "id": "5", "color": [0.4862745, 0.07843138, 0.1372549, 0.8235294] 
                    }] 
                }],
                "ext": ".SOL",
                "fileName": "土层样例-副本.sol",
                "guid": "079b904f-206b-4a91-afc7-df33192",
                "id": "60f031ca-020d-4643-b836-e8c989fd",
                "maxX": 60,
                "maxY": 60,
                "minX": -50,
                "minY": -40,
                "size": "0.00MB",
                "time": "2020/05/28 09:38"
            }
        ];
        // 水深文件
        System.display.xyzFiles = [
            {
                addRange:[],
                data:[[-505.07,629.78,5.33],[-502.02,627.64,5.34],[-499.73,626.12,5.61],[83.08,197.14,5.67],[86.7,195.04,5.9],[95.44,188.5,5.83],[96.37,187.41,5.96],[97.46,186.57,6.11],[102.83,183.23,5.96],[111.7,176.14,5.68],[112.79,175.48,5.86],[-515.34,636.59,5.15],[-510.1,632.21,5.48],[-507.84,631.34,5.51],[-503.57,627.73,5.99],[-501.22,626.18,5.3],[-499.39,625.33,5.54],[-493.47,619.98,5.18],[-485.08,614.44,5.62],[-483.02,612.94,5.09],[-482.5,612.52,5.15],[-476.2,608.3,5.84],[-474.71,606.56,5.53],[-474.11,606.13,5.52],[-472.71,605.81,5.76],[-471.19,604.26,5.14],[-469.07,602.32,5.56],[-466.3,600.22,5.81]],
                "ext": ".SOL",
                fileName:"水深样例 - 副本.sol",
                guild:"hrsrgsbfst-asrha43-sdhwserb",
                id:"2020hsrtgasrzsfdhsf",
                maxX:686.99,
                maxY:278.53,
                minX:-336.12,
                minY:-872.05,
                size: "0.00MB",
                time: "2020/05/28 09:38"
            }
        ];
        // 保存数据
        System.comm.ajax = {};
        System.comm.ajax.saveConfig = (function( shipId, type, config ){
            if(shipId === 666 && type === 13){
                window.localStorage.setItem("shipSetting",config);
            }
        })
        
        System.comm.ajax.getConfig = (function( shipId, type, userId,func ){
            if(shipId === 666 && type === 13 && userId === 11){
                let result = {};
                let data = window.localStorage.getItem("shipSetting");
                let config = {};
                result.status = "ok";
                result.config = data;
                func(result)
            }
        })

        let datass = "[{\"x\":0,\"y\":0,\"name\":\"ZK01\",\"layers\":[{\"minDepth\":0,\"name\":\"水层\",\"maxDepth\":5,\"id\":\"1\",\"color\":[1,1,1,1]},{\"minDepth\":5,\"name\":\"沙\",\"maxDepth\":8,\"id\":\"2\",\"color\":[0.654902,0.9960784,0.972549,0.6039216]},{\"minDepth\":8,\"name\":\"淤泥\",\"maxDepth\":14,\"id\":\"3\",\"color\":[0.6039216,0.4901961,0.145098,0.9960784]},{\"minDepth\":14,\"name\":\"硬泥\",\"maxDepth\":20,\"id\":\"4\",\"color\":[0.1372549,0.1843137,0.5294118,0.5686275]},{\"minDepth\":20,\"name\":\"石头\",\"maxDepth\":40,\"id\":\"5\",\"color\":[0.4862745,0.07843138,0.1372549,0.8235294]}]},{\"x\":10,\"y\":20,\"name\":\"ZK02\",\"layers\":[{\"minDepth\":0,\"name\":\"水层\",\"maxDepth\":1,\"id\":\"1\",\"color\":[1,1,1,1]},{\"minDepth\":1,\"name\":\"沙\",\"maxDepth\":5,\"id\":\"2\",\"color\":[0.654902,0.9960784,0.972549,0.6039216]},{\"minDepth\":5,\"name\":\"淤泥\",\"maxDepth\":20,\"id\":\"3\",\"color\":[0.6039216,0.4901961,0.145098,0.9960784]},{\"minDepth\":20,\"name\":\"硬泥\",\"maxDepth\":30,\"id\":\"4\",\"color\":[0.1372549,0.1843137,0.5294118,0.5686275]},{\"minDepth\":30,\"name\":\"石头\",\"maxDepth\":40,\"id\":\"5\",\"color\":[0.4862745,0.07843138,0.1372549,0.8235294]}]}]\r\n"
        console.log(JSON.parse(datass))
    </script>
    <div id="main">
        <content>
            <div id="content">
                <iframe id="visual" name="visual" src="http://localhost:3000/" frameborder="0" scrolling="no" width="100%" height="100%"></iframe>
            </div>
        </content>
        <footer>
            <div id="foot">
                cahnge
            </div>
        </footer>
        <script type="text/javascript">
        
        </script>
    </div>
</body>
</html>